package com.x.provider.customer.model.domain.customer;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.x.core.domain.BaseEntity;
import lombok.*;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("customer_session")
public class CustomerSession extends BaseEntity {
  @TableId
  private Long id;
  private Long customerId;
  private String lastIpAddress;
  private Date lastLoginDateUtc;
  private Date lastActivityDateUtc;
}
